package com.example.service.impl;

import com.example.mapper.OrderMapper;
import com.example.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderMapper orderMapper;
    @Override
    public void insertHotel( String name,int number,int price) {
       orderMapper.insertHotel(name,number,price);
    }
}
